package com.showgood.orm;

import com.showgood.util.orm.DbField;
import com.showgood.util.orm.MongoObject;

class Book extends MongoObject {
	@DbField
	private int num;
	@DbField
	private String name;
	public void setNum(int num) {
		this.num = num;
	}
	public int getNum() {
		return num;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getName() {
		return name;
	}
	
}

